from building import *

cwd = GetCurrentDir()
CPPPATH = [cwd]

src = []

if GetDepend('SUPPORT_SDIO_SWM341'):
    src += Glob('SDIO_SWM341.c') 
elif GetDepend('SUPPORT_SDIO_AIC_MMC'):
    src += Glob('SDIO_AIC_MMC.c') 

#增加SUPPORT_EX_PREINCLUDE定义以预包含Preinclude.h
predefine = ['SUPPORT_EX_PREINCLUDE']
group = DefineGroup('sdio', src, depend = [''], CPPPATH=CPPPATH, CPPDEFINES = predefine)
Return('group')
